package com.kgc.crowd.distributioncrowddatabaseprovider.service;

import com.github.pagehelper.PageInfo;
import com.kgc.crowd.distributioncrowdcommon.VO.ProjectVO;
import com.kgc.crowd.distributioncrowdcommon.pojo.*;

import java.util.List;

public interface ProjectService {
    public void saveProject(ProjectVO projectVO, String memberId);
    //查询所有类型
    public List<TypePO> selectTypePo();
    public List<TagPO> selectTagPo();
    public List<ProjectPO> selectProjectPo();
    public List<ProjectItemPicPO> selectProjectItemPicPO(Integer projectid);
    public List<ReturnPO> selectReturnPo();
    public List<ProjectPO> selectById(Integer id);
    ProjectPO selctProjectById(Integer id);
    Integer UpdateProjectById(ProjectPO projectPO);
    Integer deleteProjectById(Integer id);
    PageInfo<ProjectPO> selectProject(String projectName, Integer pageNum, Integer pageSize);
}
